


class Base{
    public int a=20;
    public int b=10;

    public void mothod(){
        System.out.println(a);
        System.out.println(b);

    }
}

class Son extends Base{
    public int a;
    public int b;

    public Son(){
         a=50;
         b=60;
    }

    public void mothod(){

        System.out.println(a);
        System.out.println(b);

    }
}
public class TextDemo {
    public static void main(String[] args) {
        Son son = new Son();

        son.mothod();

    }
}
